package com.zmzncs.shop.module.shop.pojo.shopticket;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 高博文
 * @Date 2021/05/25 15:21
 */
@Data
public class ShopTicketSearchForm {

    @ApiModelProperty(value = "商户Id",required = true)
    private Long shopId;

    @ApiModelProperty(value = "页码")
    private Integer currentPage = 1;

    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize = 10;

    public Page getPage() {
        return new Page(currentPage, pageSize);
    }
}
